package com.cloud.system.common.result;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class QkMenuItem {
	private String id;
	private String label;
	private String icon;
	private String style;
	private String styleClass;
	private String routerLink;
	private boolean expanded;
	private String seniorId;
	private boolean rootFlag;
	private Map<String, Object> queryParams = new HashMap<String, Object>();
	private List<QkMenuItem> items = new ArrayList<QkMenuItem>();

	public QkMenuItem() {
	}

	public QkMenuItem(Long id, String label) {
		super();
		this.id = id + "";
		this.label = label;
	}

	public QkMenuItem(String id, String label) {
		super();
		this.id = id;
		this.label = label;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getStyleClass() {
		return styleClass;
	}

	public void setStyleClass(String styleClass) {
		this.styleClass = styleClass;
	}

	public String getRouterLink() {
		return routerLink;
	}

	public void setRouterLink(String routerLink) {
		this.routerLink = routerLink;
	}

	public List<QkMenuItem> getItems() {
		return items;
	}

	public void setItems(List<QkMenuItem> items) {
		this.items = items;
	}

	public boolean isExpanded() {
		return expanded;
	}

	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}

	public String getSeniorId() {
		return seniorId;
	}

	public void setSeniorId(String seniorId) {
		this.seniorId = seniorId;
	}

	public boolean isRootFlag() {
		return rootFlag;
	}

	public void setRootFlag(boolean rootFlag) {
		this.rootFlag = rootFlag;
	}

	public Map<String, Object> getQueryParams() {
		return queryParams;
	}

	public void setQueryParams(Map<String, Object> queryParams) {
		this.queryParams = queryParams;
	}
	
}
